package route_admin

import (
	route_admin_login "oc_saas/internal/app/route/admin/login"
	route_admin_system "oc_saas/internal/app/route/admin/system"

	"github.com/gin-gonic/gin"
)

const (
	prefix = "/admin"
)

type AdminRoutes struct{}

func (a *AdminRoutes) InitRouteGroup(r *gin.RouterGroup) {
	v1 := r.Group(prefix)
	{
		route_admin_login.LoginRouteGroup.InitRouteGroup(v1)    //注册模块
		route_admin_system.SystemRoutesGroup.InitRouteGroup(v1) //系统管理模块
	}

}

var RouteGroup = new(AdminRoutes)
